package com.yangyang.ralearn.util;

public class RLConfig {

	private String domainFile; // 规划域文件S
	private String problemFiles;// 规划问题文件集合
	private int trainTimePerProblem;// 每一个规划问题默认训练次数
	private int stopModelCount; // 算法结束的时候最大的候选动作模型数量
	private String filterStrategy;// 候选动作模型过滤策略：none(不过滤),least(Q值最小的过滤),middle(Q值中值之下的过滤)
	private int observationPercentage; // 客观环境状态的可察百分比
	private int filterLimit;// 当外部迭代达到该次数时才进行过滤
	private int agentCount;// agent数量

	public String getDomainFile() {
		return domainFile;
	}

	public void setDomainFile(String domainFile) {
		this.domainFile = domainFile;
	}

	public String getProblemFiles() {
		return problemFiles;
	}

	public void setProblemFiles(String problemFiles) {
		this.problemFiles = problemFiles;
	}

	public int getTrainTimePerProblem() {
		return trainTimePerProblem;
	}

	public void setTrainTimePerProblem(int trainTimePerProblem) {
		this.trainTimePerProblem = trainTimePerProblem;
	}

	public int getStopModelCount() {
		return stopModelCount;
	}

	public void setStopModelCount(int stopModelCount) {
		this.stopModelCount = stopModelCount;
	}

	public String getFilterStrategy() {
		return filterStrategy;
	}

	public void setFilterStrategy(String filterStrategy) {
		this.filterStrategy = filterStrategy;
	}

	public int getObservationPercentage() {
		return observationPercentage;
	}

	public void setObservationPercentage(int observationPercentage) {
		this.observationPercentage = observationPercentage;
	}

	public int getFilterLimit() {
		return filterLimit;
	}

	public void setFilterLimit(int filterLimit) {
		this.filterLimit = filterLimit;
	}

	@Override
	public String toString() {
		return "RLConfig [domainFile=" + domainFile + ", problemFiles="
				+ problemFiles + ", trainTimePerProblem=" + trainTimePerProblem
				+ ", stopModelCount=" + stopModelCount + "]";
	}

	public int getAgentCount() {
		return agentCount;
	}

	public void setAgentCount(int agentCount) {
		this.agentCount = agentCount;
	}

}
